package com.ysx.oa.clazz.service;

import com.ysx.oa.clazz.bean.ClazzStudentTeacherBean;
import com.ysx.oa.clazz.entity.ClazzStudentTeacherEntity;
import com.ysx.oa.role.bean.RoleBean;
import com.ysx.oa.user.bean.UserBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 李伟伟
 * @date 2021/11/23 15:47
 */
public interface ClazzStudentTeacherService {
    Integer addTeacher(ClazzStudentTeacherBean clazzStudentTeacherBean);

    Integer addStudent(ClazzStudentTeacherBean clazzStudentTeacherBean);

    List<UserBean> findStudentOrTeacherByNotClass(@Param("roleBean") RoleBean roleBean);

    List<ClazzStudentTeacherEntity> findAll();

    Integer deleteStudent( List<Integer> userId);

}
